<!doctype html>
<html class="no-js h-100" lang="zh" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title th:text="${pageInfo == null? '出错了！' : pageInfo.title}"></title>
    <meta name="description" content="Spring OA">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link href="https://cdn.staticfile.org/font-awesome/5.8.1/css/all.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.1.3/css/bootstrap.min.css">
    <link rel="stylesheet" id="main-stylesheet" href="/styles/shards-dashboards.1.3.1.min.css">
    <script async defer src="https://buttons.github.io/buttons.js"></script>
</head>
<body class="h-100">
<div class="container-fluid" th:classappend="${userInfo != null ? '' : 'icon-sidebar-nav'}">
    <div class="row">
        <aside th:replace="template/aside"></aside>
        <main layout:fragment="content"></main>
    </div>
</div>
<script src="https://cdn.staticfile.org/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/popper.js/1.14.3/umd/popper.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
<script src="https://cdn.staticfile.org/Chart.js/2.7.1/Chart.min.js"></script>
<script src="https://unpkg.com/shards-ui@latest/dist/js/shards.min.js"></script>
<script src="https://cdn.staticfile.org/Sharrre/2.0.1/jquery.sharrre.min.js"></script>
<script src="scripts/shards-dashboards.1.3.1.min.js"></script>
<div th:if="${initTable}">
    <script src="https://cdn.staticfile.org/datatables/1.10.16/js/jquery.dataTables.min.js"></script>
    <script src="https://cdn.datatables.net/responsive/2.2.1/js/dataTables.responsive.min.js"></script>
    <script>$(function(){$(".transaction-history").DataTable({responsive:true,language: {
            "decimal":        "",
            "emptyTable":     "没有数据",
            "info":           "正在显示 _START_ 到 _END_ ，共 _TOTAL_",
            "infoEmpty":      "无数据",
            "infoFiltered":   "(从 _MAX_ 中筛选)",
            "infoPostFix":    "",
            "thousands":      ",",
            "lengthMenu":     "每页显示 _MENU_ 条",
            "loadingRecords": "加载中...",
            "processing":     "读取中...",
            "search":         "搜索：",
            "zeroRecords":    "找不到匹配项",
            "paginate": {
                "first":      "首页",
                "last":       "尾页",
                "next":       "下一页",
                "previous":   "上一页"
            },
            "aria": {
                "sortAscending":  ": 以升序排序",
                "sortDescending": ": 以降序排序"
            }
        }})})</script>
</div>
</body>
</html>